{extend name="public/base" /}
{block name="title"}
		<meta charset="UTF-8">
		<title>{$content.name}</title>
{/block}
{block name="body"}	
		
		<div class="global_bg" style="background: url(UPLOADS/{$term.parent.tag.bgimg}) no-repeat top center; width: 100%;min-height: 1028px; height: auto;overflow: hidden; position: absolute; top: 100px;">
			<div class="gloabl_con">
				<div class="comn_title">{$term.parent.name}</div>
				<div class="mainbox">
					<div class="mmsj_list">
						
						<div id="mmtab">
    
						    <div class="conten_nav">
						        <ul>
						             {foreach $term['parent']['child'] as $key => $t}
										<li {if isset($term['address'][$t['id']]) }class="active"{/if}><span {if current($t) === end($t)}style="border: none;"{/if}><a href="{$t.url}">{$t.name}</a></span></li>	
									{/foreach}
						            
						        </ul>
						      
						    </div>
						    <div class="news_content">
						        <div class="content_box">
						        	<div class="cont_top">
						            <p class="title">{$content.name}</p>
						            <p class="time">发布者：{$content.tag.fbname} &nbsp; &nbsp;  发布时间：<?php echo date('Y-m-d',$content['create_time']);?>  &nbsp; &nbsp;   <img src="images/view.png" /> {$content.hits}次</p>
						            </div>
						            <div class="cont_main">
										{$content.content}
						            </div>
						            <div class="prenxt">
						            	<div class="prev"><a href="{$content.last.url}">上一篇：{$content.last.name}</a></div>
						            	<div class="next"><a href="{$content.next.url}">下一篇：{$content.next.name}</a></div>
						            </div>
						        </div>
						        
						    </div>
						    
						   
						    
						</div>
					</div>
					
					
				</div>
			</div>
			
{/block}			